export const useNotificationStore = defineStore('notificationStore', {
  state: () => ({
    notificationActive: false,
    notificationText: ''
  }),
  actions: {
    showNotification(text: string) {
      this.notificationActive = true
      this.notificationText = text
      setTimeout(() => {
        this.notificationActive = false
      }, 1500)
    }
  }
})
